package cn.pojo.dto;

import cn.pojo.HealthOrderPerson;
import cn.pojo.HealthVaccine;
import org.springframework.stereotype.Component;

@Component
public class OrderVaccine extends HealthOrderPerson {

    private HealthVaccine vaccine;

    public OrderVaccine() {
    }

    public OrderVaccine(HealthVaccine vaccine) {
        this.vaccine = vaccine;
    }

    public HealthVaccine getVaccine() {
        return vaccine;
    }

    public void setVaccine(HealthVaccine vaccine) {
        this.vaccine = vaccine;
    }

    @Override
    public String toString() {
        return "OrderVaccine{" +
                "vaccine=" + vaccine +
                '}';
    }
}
